home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
preccx
/
prccx240.lha
/
READ.ME
< prev
next >
Wrap
Text File
|
1993-05-28
|
2KB
|
61 lines
This is the 2.40a (alpha) release of PRE-CCX. May 1993.
--------------------------------
PRECCX is an infinite-lookahead compiler compiler for
context dependent grammars. Copyright P.T. Breuer, 1989-1993.
NOTES and CAVEATS: I'm not releasing 2.40 with a full set of
development documentation - that's mostly of interest to myself. THIS
RELEASE IS HIGHLY EXPERIMENTAL; so BEWARE! I expect there to be a few
bugs in the new features, though not in old. I am including
UPDATED MANUAL: preccx.1 (unix man pages)
SOURCE CODES: preccx.c (all included too, so don't worry)
lex.c
c.c
These three source files (there are now three instead of one big file)
will compile to preccx.exe. Use `make'.
DIFFERENCES: This release should be upwardly compatible with 2.30/2.31.
NEW: !{handler} error handling
sum = term\x op\o term\y @do(o,x,y)
synthetic attribute
The new attribute style enables the run-time value stack to be dispensed
with (see the manual). This saves RAM. You can set call_mode=1 if you
do so, which will also save RAM by disabling the stack manipulation
instruction generator. I think the style also looks better!
The backtracking error handler construct tells precc where to branch to
in case of an attempt to backtrack across the ! mark. The handler
parser should eat tokens and resync somewhere sensible. I would
appreciate bug reports, as I am doing some tricky C stack manipulations,
and I want to know if I can get away with them as they are, or if I have
forgotten some weird combination of events that causes a screw up.
TESTING: I have done some preliminary testing on HP-UX and MSDOS. What
I have tested seems to work.
INSTRUCTIONS: Run `make', then read the manual.
--
Peter T. Breuer
<ptb@comlab.ox.ac.uk, ptb@eng.cam.ac.uk>
NB: The
SOURCE SPECS: preccx.y (the preccx 2.x bootstraps for preccx 2.40)
lex.y
c.y
are available from me by email. I had intended to distribute them in
this tar file, but I have to keep the size under 100K for the mail
server. Apologies. You generate the C source code files from the specs
by running an earlier version of preccx over them.